package com.zenchn.dao;

import com.zenchn.generic.GenericDao;
import com.zenchn.model.TMiRegionDetail;
import com.zenchn.model.TMiRegionDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMiRegionDetailMapper extends GenericDao<TMiRegionDetail,String,TMiRegionDetailExample> {
    long countByExample(TMiRegionDetailExample example);

    int deleteByExample(TMiRegionDetailExample example);

    int deleteByPrimaryKey(String id);

    int insert(TMiRegionDetail record);

    int insertSelective(TMiRegionDetail record);

    List<TMiRegionDetail> selectByExample(TMiRegionDetailExample example);

    TMiRegionDetail selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TMiRegionDetail record, @Param("example") TMiRegionDetailExample example);

    int updateByExample(@Param("record") TMiRegionDetail record, @Param("example") TMiRegionDetailExample example);

    int updateByPrimaryKeySelective(TMiRegionDetail record);

    int updateByPrimaryKey(TMiRegionDetail record);

    List<String> getAreaNames( @Param("regionId")String regionId);
}
